get current location latitude and longitude in xamarin - NAYCode.com

91

get current location latitude and longitude in xamarin - NAYCode.com -

      var location = await Geolocation.GetLocationAsync();
                    if (location != null)
                    {
                    	      double _log = location.Longitude;
		             double _lat = location. Latitude;
                    }

Comments

Submit
0 Comments